/**
 * Tatoeba Project, free collaborative creation of multilingual corpuses project
 * Copyright (C) 2010  HO Ngoc Phuong Trang <tranglich@gmail.com>
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */


/*
 * Navigation links (previous, next, random)
 */
.navigation {
    background: #fafafa;
    border: 1px solid #f1f1f1;
    margin-top: -20px;
}
@media only screen and (max-width: 960px) {
    .responsive .navigation {
        margin-top: 0;
    }
}
.navigation .md-errors-spacer {
    display: none;
}
.navigation form {
    width: 270px;
}
.navigation .go-button {
    min-width: initial;
}
#go-to-form {
    border-left: 1px solid #f1f1f1;
    padding: 10px 0 0 20px;
}
#randomLangChoiceInBrowse,
#loadingAnimationForNavigation {
    margin: 20px 5px 0 5px;
}

/*
 * Sentence content
 */
.sentence-and-translations,
.sentences_set {
    background: #fff;
    margin: 20px 10px;
}

.sentences_set {
    width: 610px;
    margin: 20px auto;
}

.sentence .content.column {
    width: 500px;
}

/* 
 * Tags
 * NOTE for the moment I've copied paste it in tags/view_all.css
 */
.tagsListOnSentence {
    overflow: auto;
}

.tagName {
    color: #333;
}

.tag a:hover {
    color: #7F6A27;
}

.removeTagFromSentenceButton {
    border-left: 1px dotted #CCC;
    padding-left: 5px;
    margin-left: 5px;
    color: red;
}


/* 
 * Tags form
 */
#tag-form {
    margin: 10px 0;
}

#tag-form .input {
    display: inline-block;
    vertical-align: middle;
}

#tag-form button[type="submit"] {
    background: #4caf50;
    color: #FFFFFF;
    border: none;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    height: 26px;
    width: 25px;
    font-size: 16px;
    font-weight: bold;
    margin-left: -24px;
    cursor: pointer;
}

#tag-form input {
    border: 1px solid #cccccc;
    padding: 2px 25px 2px 2px;
    font-size: 16px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

#TagTagName {
    width: 150px;
}

#autocompletionDiv a{
    width: 140px; /* This has to be 10px less than #TagTagName to compensate the
                     text-indent and padding (in autocompletion.css) */
}

.tags-loader {
    width: 12px;
    height: 12px;
    margin-left: 5px;
    display: inline-block;
    vertical-align: middle;
}


/*
 * Sentence correctness form
 */
#SentenceEditCorrectnessForm .radio label {
    margin-right: 20px;
}


md-sidenav .sentence-lists .public-list {
    list-style-type: disc;
    margin: 5px 5px 5px 10px;
}

md-sidenav .sentence-lists .personal-list {
    list-style-type: circle;
    margin: 5px 5px 5px 10px;
}


/*
 * Correctness by users
 */
.correctness-info .username,
.correctness-info .info,
.correctness-info svg {
    display: inline-block;
    vertical-align: middle;
    margin: 0 2px 5px 0;
}

/*
 * Logs
 */
.derivation {
    font-size: small;
}

/*
 * Audio
 */
.audio h3 {
    display: flex;
    align-items: center;
    margin-left: -15px;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}
.audio .disabled h3 {
    text-decoration: line-through;
}
.audio .audio-button {
    background: white;
    align-self: end;
}
.audio .audio-author {
    background: white;
    padding-right: 8px;
    margin-right: 2px;
    word-wrap: anywhere;
}
.audio h2 {
    margin-bottom: 0;
}
.audio .audio-details {
    padding: 10px 16px;
    margin-left: 10px;
    margin-top: -20px;
    border: 2px solid rgba(0,0,0,0.12);
    z-index: 0;
    position: relative;
}
.audio .audio-details .license {
    padding-top: 16px;
    margin-bottom: 16px;
}
.audio .audio-details .timestamp {
    font-size: 0.75rem;
    font-weight: 500;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
    word-break: break-word;
}
.audio .audio-details .timestamp:last-of-type {
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    margin-bottom: 0.5rem;
}
.audio .audio-details .timestamp .since {
    color: rgba(0, 0, 0, 0.54);
}
.audio .audio-details .md-errors-spacer {
    display: none;
}
